﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="Maticsoft.Web.Admin.SU.Index" %>

<%@ Register Src="../../Controls/checkright.ascx" TagName="checkright" TagPrefix="uc2" %>
<%@ Register Src="~/Controls/copyright.ascx" TagName="CopyRight" TagPrefix="uc1" %>
<%@ Register TagPrefix="cc1" Namespace="LtpPageControl" Assembly="LtpPageControl" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="../style.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    
    <div style="text-align:center">
             <table  cellSpacing="0" cellPadding="5" width="90%" align="center" border="0">                
                <tr>
                <td align="left">○页次：<asp:Label ID="lblCurrentPage" runat="server" ForeColor="#e78a29"></asp:Label>页/<asp:Label ID="lblPageCount"
                        runat="server"></asp:Label>页，共<asp:Label ID="lblRowsCount" runat="server" ForeColor="#e78a29"></asp:Label>条记录
                        </td>
                <td align="right">
                [<asp:linkbutton id="btnFirst" runat="server" OnCommand="NavigateToPage" CommandArgument="First"
								CommandName="Pager" Text="首 页">首 页</asp:linkbutton>]
				[<asp:linkbutton id="btnPrev" runat="server" OnCommand="NavigateToPage" CommandArgument="Prev"
								CommandName="Pager" Text="上一页">上一页</asp:linkbutton>]
				[<asp:linkbutton id="btnNext" runat="server" OnCommand="NavigateToPage" CommandArgument="Next"
								CommandName="Pager" Text="下一页">下一页</asp:linkbutton>]
				[<asp:linkbutton id="btnLast" runat="server" OnCommand="NavigateToPage" CommandArgument="Last"
								CommandName="Pager" Text="尾 页">尾 页</asp:linkbutton>]
                </td>
                </tr>
            </table>
			<table cellSpacing="0" cellPadding="5" width="90%" align="center" border="0" bgcolor='<%=Application[Session["Style"].ToString()+"xtable_bgcolor"]%>'
			bordercolordark='<%=Application[Session["Style"].ToString()+"xtable_bordercolordark"]%>' bordercolorlight='<%=Application[Session["Style"].ToString()+"xtable_bordercolorlight"]%>'>
				<tr>
					<td >
                        <asp:GridView ID="grid" runat="server" AllowPaging="True" AutoGenerateColumns="False" Width="100%" 
                        CellPadding="5" BorderWidth="1px" DataKeyNames="id" OnRowCreated="grid_RowCreated" OnRowCommand="grid_RowCommand">
                            <Columns>
                                <asp:BoundField DataField="id" HeaderText="编号">
                                <ItemStyle HorizontalAlign="Center" />
                               </asp:BoundField> 
                                <asp:BoundField DataField="titile" HeaderText="主题" >
                                 <ItemStyle HorizontalAlign="Center" />
                                </asp:BoundField >
                                <asp:BoundField DataField="keywords" HeaderText="关键字">
                                <ItemStyle HorizontalAlign="Center" />
                               </asp:BoundField> 
                                <asp:BoundField DataField="description" HeaderText="描述">
                                <ItemStyle HorizontalAlign="Center" />
                                
                               </asp:BoundField> 
                               <asp:BoundField DataField="remark" HeaderText="备注">
                                <ItemStyle HorizontalAlign="Center" />
                               </asp:BoundField> 
                                <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="show.aspx?id={0}"
                                    HeaderText="详细" Text="详细" >
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:HyperLinkField>
                                <asp:HyperLinkField DataNavigateUrlFields="id" DataNavigateUrlFormatString="modify.aspx?id={0}"
                                    HeaderText="修改" Text="修改" >
                                    <ItemStyle HorizontalAlign="Center" />
                                </asp:HyperLinkField>
                            </Columns>
                            <PagerSettings Visible="False" />
                        </asp:GridView>
					
				</tr>
			</table>
			<cc1:page02 id="Page021" runat="server" Page_Index="index.aspx"></cc1:page02>
        <uc1:CopyRight ID="CopyRight1" runat="server" />
        <uc2:checkright id="Checkright1" runat="server">
        </uc2:checkright></div>
    </form>
</body>
</html>


